package com.ly.hotel.model;

import java.util.ArrayList;
import java.util.List;

public class MusicPageBean {

	/**
	 * 第几页
	 */
	private int no;

	/**
	 * 每页显示的记录数
	 */
	private int size;

	/**
	 * 总记录数
	 */
	private int totalRecord;

	/**
	 * 总页数
	 */
	private int totalPage;

	private List<MusicBean> musics;


	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getTotalRecord() {
		return totalRecord;
	}

	public void setTotalRecord(int totalRecord) {
		this.totalRecord = totalRecord;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<MusicBean> getMusics() {
		return musics;
	}

	public void addMusics(MusicBean mb) {
		if(this.musics != null){
			this.musics.add(mb);
		}else{
			this.musics = new ArrayList<MusicBean>();
			this.musics.add(mb);
		}
	}
	
}
